home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / doc / www-talk.archive.Z / www-talk.archive / text0385.txt < prev    next >
Encoding:
Text File  |  1992-11-30  |  2.1 KB  |  51 lines

  1. I've patched httpd to allow remote annotations (an enabling mechanism
  2. for asynchronous collaboration).  My httpd accepts the following
  3. command:
  4.  
  5. ANNOTATE /file/to/annotate?/file/of/annotation?Text describing annotation.
  6.  
  7. The result of this command is that /file/to/annotate gets a single line
  8. appended to it; this line is exactly:
  9.  
  10. <A HREF=/file/of/annotation>Text describing annotation.</A> <P>\n
  11.  
  12. Notice:
  13.  
  14. (1) '?' is used as the divider between ``keywords'', as it is with GET
  15.     (for searches).  I'm content with overloading '?' (since it's
  16.     already known to be safe, since it's not supposed to be part of a
  17.     document ID), but other people might not be.  (If not '?', what?)
  18. (2) /file/of/annotation can be any file with any access type, but is
  19.     normally assumed to be a file residing on the annotator's local
  20.     system and under her control.
  21. (3) The new link can be arbitrarily named; it may be a good idea to
  22.     have clients that implement annotation automatically prepend the
  23.     annotator's full name to this field before sending it to httpd,
  24.     but httpd shouldn't have to worry about this.
  25.  
  26. The security mechanism for this is as follows:
  27.  
  28. (1) A file to be annotated must ``pass'' the rules normally, and also:
  29. (2) A new rule ``open'' is defined; it serves the same role (and has
  30.     the same syntax) as ``pass'' except it determines whether a file
  31.     can be annotated; and also:
  32. (3) Since httpd is (or should be) normally run as 'nobody', the file
  33.     must be writeable by 'nobody'.
  34.  
  35. This implementation does not cover informing the client whether or not
  36. a file is ``open'' until an annotation is attempted.  That capability
  37. should probably be addressed separately (??).
  38.  
  39. I'm sending the httpd patches to Tim tonight; unless there are
  40. problems[1] with this approach, I'd love to see it implemented, and
  41. I'll even set up the first annotatable web site...
  42.  
  43. Marc
  44.  
  45. [1] Dan will immediately notice that quotes aren't put around the HREF
  46. field above.  At the moment, I'm going to run without them (since, for
  47. one thing, I need to demo this with Midaswww on Monday), but the
  48. official implementation should do the quotes.
  49.  
  50.  
  51.